package com.template;


import com.template.app.configuration.ConsoleConfiguration;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;


/**
*
*/
@Configuration
@ComponentScan("com.template.app")
@EnableAutoConfiguration// 启注解事务管理，等同于xml配置方式的 <tx:annotation-driven />
//@SpringBootApplication
@Import(ConsoleConfiguration.class)
public class Main {
    public static void main(String[] args) throws Exception {
//        Utils.default2Utf8();
        SpringApplication.run(Main.class, args);
    }
    
}
